package com.zhuiyun.project.cyclingapplet.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author guojingzhi
 * @since 2024-07-16
 */
@TableName("cycling_user")
public class CyclingUser implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 骑行用户id （胡家浩）
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 性别(0男 1女)
     */
    private String sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 体重(kg)
     */
    private Double weight;

    /**
     * 身高(cm)
     */
    private Double height;

    /**
     * 骑行者头像id
     */
    private Integer photoId;

    /**
     * 骑行等级  级别（初级 0 /中级 1 /高级 2/极限3）
     */
    private String cyclingGrade;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Double getWeight() {
        return weight;
    }

    public void setWeight(Double weight) {
        this.weight = weight;
    }

    public Double getHeight() {
        return height;
    }

    public void setHeight(Double height) {
        this.height = height;
    }

    public Integer getPhotoId() {
        return photoId;
    }

    public void setPhotoId(Integer photoId) {
        this.photoId = photoId;
    }

    public String getCyclingGrade() {
        return cyclingGrade;
    }

    public void setCyclingGrade(String cyclingGrade) {
        this.cyclingGrade = cyclingGrade;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "CyclingUser{" +
        "id = " + id +
        ", nickName = " + nickName +
        ", phone = " + phone +
        ", sex = " + sex +
        ", age = " + age +
        ", weight = " + weight +
        ", height = " + height +
        ", photoId = " + photoId +
        ", cyclingGrade = " + cyclingGrade +
        ", createTime = " + createTime +
        ", updateTime = " + updateTime +
        "}";
    }
}
